home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / bgfax160.zip / BINK-HAY.TXT < prev    next >
Text File  |  1996-04-25  |  4KB  |  98 lines

  1. --------------------------------------------------------------------------
  2. Setup hints: BGFAX, Hayes Optima 28800, Binkley 2.60 (DOS & OS/2) 04-25-96
  3. B.J. Guillot                                 http://www.blkbox.com/~bgfax/
  4. FidoNet 1:106/400                         InterNet: bjg90783@jetson.uh.edu
  5. --------------------------------------------------------------------------
  6.  
  7. YOU MUST BE USING BINKLEY 2.60...  DO NOT USE THE 2.59 BETAS OR EARLIER.
  8.  
  9. Here is a clip from the BINKLEY.CFG file...
  10.  
  11. ;***************************************************************
  12. ;*  Fax Related Section of Binkley.CFG for a Class 1 faxmodem  *
  13. ;*  Class 1 such as Hayes Optima 28800                         *
  14. ;***************************************************************
  15. PreInit    |v``^``ATHZ|~~
  16. Init       AT|
  17. PreDial    `
  18. Prefix     ATDT
  19. Answer     AT+FCLASS=1|~AT+FAE=1|~ATA|
  20. ; if the above gives problems, use two tiles (~~AT) instead of one (~AT)
  21. DtrHigh
  22. ;MailNote                      ; must be COMMENTED OUT for BGFAX to work!!!
  23. ;FaxInDir   NOT_USED           ; must be COMMENTED OUT for BGFAX to work!!!
  24. ;FaxBaud    NOT_USED           ; useless when used with BGFAX
  25. ExtrnMail     123 FAX
  26. Extern        spawn            ; this causes Bink to spawn EXTMAIL.BAT|CMD
  27. ModemFax      FAX
  28. ModemIgnore   RINGING
  29. ModemIgnore   RING RESPONSE
  30. ModemRinging  RING
  31. ModemConnect  CONNECT
  32. ModemIgnore   RRING
  33. ModemRetry    BUSY
  34. ModemFailure  VOICE
  35. ModemFailure  ERROR
  36. ModemFailure  OK
  37. ModemFailure  NO CARRIER
  38. ModemIncoming NO DIAL
  39. ModemIgnore   DIALING
  40. ModemFailure  NO ANSWER
  41. ModemIgnore   DIAL TONE
  42.  
  43.  
  44. Miscellaneous notes about BINKLEY.CFG...
  45.  
  46.   1. The "123" number I choose in the "ExtrnMail" verb above is just a
  47.      dummy number.  Since we are spawning to EXTMAIL.BAT|CMD, the number
  48.      itself does not make any difference
  49.   2. Binkley will NOT report modem initialization errors and this makes
  50.      finding errors almost impossible.
  51.  
  52. The other important file we must create is EXTMAIL.BAT|CMD, which will
  53. reside in the Binkley directory...
  54.  
  55. EXTMAIL.CMD  (If you are using Binkley and BGFAX for OS/2)
  56. ~~~~~~~~~~~
  57. @d:\util\sio\su 1 lock 0
  58. @c:\bgfax\bgfax2 /fax:713_555_1212 c:\bgfax h%3 z /dis:79
  59.      or
  60. @c:\bgfax\bgfax2 /fhay:713_555_1212 c:\bgfax h%3 z /dis:79
  61.  
  62. The "SU" command in the first line will tell the SIO.SYS drivers to unlock
  63. the communications port so that BGFAX is able to adjust the DTE speed to
  64. whatever value your modem needs to be set to for fax receive mode.  The "1"
  65. stands for "COM1".  The "H%3" is a communications handle which is auto-
  66. matically passed by Binkley so you do not need to tell BGFAX/2 which com
  67. port you are using.  The "713_555_1212" should be your phone number.  Use
  68. underscores (_) instead of spaces.  The "/dis:79" tells BGFAX to tell the
  69. remote fax device to use a maximum of 9600 bps.
  70.  
  71. If using /fax:xxxxxxxxx gives you trouble, try using /fhay:xxxxxxxxxx
  72.  
  73. EXTMAIL.BAT  (If you are using Binkley and BGFAX for DOS)
  74. ~~~~~~~~~~~
  75. @c:\bgfax\bgfax2 /fax:713_555_1212 c:\bgfax 1 z /dis:79
  76.      or
  77. @c:\bgfax\bgfax2 /fhay:713_555_1212 c:\bgfax 1 z /dis:79
  78.  
  79. The "1" above tells BGFAX to receive using COM1.
  80.  
  81. If Binkley/2 is working correctly, your BINKLEY.LOG will show an entry
  82. like this...
  83.  
  84. + 18 Apr 16:36:39 BINK begin, BinkleyTerm-OS/2 Ver. 2.60 -IBMC/2
  85. # 18 Apr 16:38:54 BINK Ring
  86. # 18 Apr 16:38:55 BINK Fax
  87. : 18 Apr 16:38:56 BINK Spawning external mailer
  88. : 18 Apr 16:39:31 BINK Returned from external mailer
  89. * 18 Apr 16:39:35 BINK Seconds: 45  Tariff: 0  Fee: 0  System: FAX
  90. : 18 Apr 16:39:35 BINK Exit after receiving mail with errorlevel 20
  91. + 18 Apr 16:39:35 BINK end, BinkleyTerm-OS/2 Ver. 2.60 -IBMC/2
  92.  
  93. Notice that after the fax is received, Binkley will go ahead and exit
  94. with the errorlevel defined by E2= in the BINKLEY.EVT file after BGFAX
  95. releases control back to Bink.  Again, this happens AFTER the BGFAX
  96. transfer has already happened.
  97.  
  98.